home *** CD-ROM | disk | FTP | other *** search
- Path: ifi.uio.no!usenet
- From: ludvigp@ifi.uio.no (Ludvig Pedersen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: doubling pixels horizontally
- Date: 20 Feb 1996 20:27:05 GMT
- Organization: Dept. of Informatics, University of Oslo, Norway
- Message-ID: <1183.6624T1222T2604@ifi.uio.no>
- References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk><576.6613T1070T1730@login.eunet.no><1257.6614T57T922@vip.cybercity.dk><1225.6615T1229T800@login.eunet.no><1140.6616T51T1538@vip.cybercity.dk>
- <1982.6617T1096T103@ifi.uio.no> <2175.6620T1429T2950@vip.cybercity.dk>
- <3764.6622T781T478@ifi.uio.no> <4ga5om$qsf@brachio.zrz.TU-Berlin.DE>
- NNTP-Posting-Host: gymir.ifi.uio.no
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- >ludvigp@ifi.uio.no (Ludvig Pedersen) writes:
- >>Mine current routine is using 48 cycles on 2 passes.
- >> move.l #160*128/8-1,d7
- >>Loop:
- >> move.l (a0)+,d0 ;Linear Chunky buffer
- >> move.l (a0)+,d1
- >> <2 passes = 48 cycles>
- >> move.l d0,(a1)+ ;chipram
- >> move.l d2,(a1)+
- >> dbra d7,Loop
- >>As you probably have noticed the example is not optimised for memory-access,
- >>but the purpose was just to show what I meant by 48 cycles.
- >Have you timed the routine and have you compared it to a plain copy?
- >My routine takes 48c for conversion too, and I do proper pipelining
- >and still it is not chipmem speed.
- That means your routine should be just as fast as ours, I guess.
-
- Your are not using the CPU and the BLITTER at the same time in chipram are
- you??? Because that is very foolish! :) (read: SLOW!)
-
- Anyway, to make sure I timed it.
-
- Using a PAL lowres screen with 256 colors, all interrupts off.
-
- c2p: Used 74 rasterlines on a 160x128 screen
- Copy: Used 73 rasterlines.
-
- I consider that as pretty equal.
-
- <sb>Ludde - Amiga Demo Coder
- <sb>Virtual Reality & Official Be developer
- <sb>ludvigp@ifi.uio.no
-
-